package com.rajendar.output.helper;

import com.rajendar.output.IOutputGenerator;
import com.rajendar.output.impl.CsvOutputGenerator;
import com.rajendar.output.impl.JsonOutputGenerator;

public class OutputHelper {
	IOutputGenerator outputGenerator1;
	IOutputGenerator outputGenerator2;
	 
	public OutputHelper(){
		outputGenerator1 = new CsvOutputGenerator();
		outputGenerator2 = new JsonOutputGenerator();
	}
 
	public void generateOutput(){
		outputGenerator1.generateOutput();
		outputGenerator2.generateOutput();
	}
}
